<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * 登录模块
 */
class Login_m extends CI_Model{
	public function isLogin(){
		$userinfo=se_item('userInfo');
		if(isset($userinfo) && !empty($userinfo)){

			return true;
		}
		else{
			showmessage('未登录,3秒后返回登陆页','/index.php/login');
		}
	}
}
?>